package java基础知识.抽象类;

import java.nio.channels.Selector;

/**
 * @author coderFu
 * @create 2022/3/9
 * 抽象类
 */
public abstract class CoderAbstract {

    protected String name;

    protected int  age;

    public CoderAbstract(String name, int age){
        this.name = name;
        this.age = age;
    }

    public void test(){
        System.out.println("你的名字是"+name);
        // 查询你的工资内容
    };

    public abstract void demo(String name, int age);
}
